#!/bin/sh
echo "compiling..."
find . | egrep '\.pyc$' | xargs rm
python -m compileall .
echo "========compile finished=========="
echo "deleting source code..."
find . | egrep '\.py$' | xargs rm
echo "======== delete source code finished ========="
echo "deleting other not used things..."
find . -type d -name ".svn"|xargs rm -rf
rm -rf .settings
rm -rf depends
rm -rf jars
rm -rf pyqt
rm -rf .project .pydevproject tornado-2.3.tar.gz
rm -rf run
rm -rf mysql_pool
echo "========== all finished! ============"